#define  _CRT_SECURE_NO_WARNINGS   1
#include <stdio.h>
#define NDEBUG
#include <assert.h>
int main()
{
	//int a = 10;
	/*int arr[10] = {1,3,4};
	char* p = arr;
	printf("%d\n", *p);
	printf("%d\n", *(p+2));*/
	/*int a = 10;
	void* p = &a;
	printf("%d\n", *(int*)p);*/
	/*const int a = 10;
	int b = 30;
	 int*const p = &a;
	*p = 30;
	p = &b;
	printf("%d\n", a);*/
	/*int b = 20;
	int* p = NULL;
	p = 80;
	printf("%d\n", *p);*/
	/**/
	/*int arr[10] = { 1,2,3,4 };
	int* p = arr;
	printf("%d\n", *(arr+2));*/
	/*char* p = "abcdef";
	printf("%s\n", p+1);*/
	int arr[10] = { 1,2,3,4 };
	int(*p)[10] = &arr;
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", (*p)[i]);
	}
	return 0;
}